package com.qf.springcloud.aircore.fallback;

import com.qf.springcloud.aircore.client.SearchClient;
import org.springframework.stereotype.Component;

import java.util.Date;
import java.util.Map;

@Component
public class SearchClientImpl implements SearchClient {
    @Override
    public String searchTest() {
        return "嘿嘿嘿,测试失败~~~,请稍后再试!!";
    }

    @Override
    public Map add(Map map) {
        return null;
    }

    @Override
    public String del(String id) {
        return "服务器被挤爆了,稍后再试~~~┭┮﹏┭┮";
    }

    @Override
    public String update(String name, Integer age, Date birthday) {
        return null;
    }
}
